home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AppleScript / Development Tools / Sample Code / 7Edit / 7Edit- Read Me next >
Encoding:
Text File  |  1994-02-25  |  4.7 KB  |  102 lines  |  [TEXT/ttxt]

  1. This is the latest release of our fully factored Apple Event Object
  2. support sample application, 7Edit. 7Edit is intended to give you a head start in making your application fully factored, recordable and scriptable.
  3.  
  4. This release includes a number of changes and bug fixes. 7Edit supports a major subset of the text suite of events as well as much of the core event suite. In this folder you'll find versions of 7Edit for MPW C and MPW Pascal.
  5.  
  6. This version of 7Edit has been tested with a pre-final version of AppleScript and compiled with the C, Pascal and resource interfaces found on the AppleScript Beta CD. The only changes to the code in the 3.0d8 release are some additions to the aete resource to specify which events from the misc suite we support.
  7.  
  8. Enjoy.
  9.  
  10. Jon Lansdell
  11.  
  12. ----------------------------------------------------------------------------
  13. Please note that this sample code was originally written while SRL Data provided support to UK Developers, under contract from Apple UK, via UK.DTS. Due to the reorganisation of European Developer Services from January 1st 1993 we are no longer performing the UK DTS function, but since lots of developers found the 7Edit and MenuScripter code (included on the AppleScript Beta CD) useful we have decided to keep the samples up to date and available to all developers. Link bugs, comments and suggestions to SRL Data at AppleLink: UK0001. 
  14.  
  15. However, we will not answer any technical questions on these samples- registered Apple Partners should direct their questions to DEVSUPPORT.
  16.  
  17.  
  18. ----------------------------------------------------------------------------
  19. 7Edit change history
  20. ------------------
  21.  
  22. Changes for 3.0d8: 
  23.  
  24. 16-Mar-93 Updates to aete resource for misc suite.
  25.  
  26. Changes for 3.0d7: 
  27.  
  28. 16-Nov-92: Changed pUserSelection to pSelection.
  29.  
  30. Changes for 3.0d6: 
  31. ----------------
  32.  
  33. 09-Sep-92: Fixed FeatureIsImplemented to use BitTst
  34.                    Added a global gRecordingImplemented to check to see if 
  35.                    recording is available. This is used for our text recording routine, so that
  36.                    text does not get added to the documented twice if recording is not
  37.                    available.
  38.  
  39. Changes for 3.0d5: 
  40. ----------------
  41.     
  42. 10-Aug-92 : Fixed Quit save no - AEInteractWithUser called now
  43.                                         Added IssueQuitCommand.
  44.                                         Install cLine from typeMyText accessor
  45.  
  46. Changes for 3.0d4 :
  47. ----------------
  48.     
  49.        3-Jul-92 : Fix SetWindowProperty typeMyText
  50.          7-Jul-92 : Add missing window props - pIsFloating, pHasCloseBox, pIsZoomable
  51.         13-Jul-92 : Complete the menu classes.
  52.                          Allow -ve absolute positions - i.e. last line of ...
  53.                                          Change Line access to allow relative offsets
  54.       14-Jul-92 :Change region massages for window positions (thanks huggy!)
  55.         15-Jul-92 : Modified HandleGetData/SetData to allow styledText and typeChar
  56.                          Recording of keyStrokes
  57.         17-Jul-92 : Enter key -> compile text - filtered out too
  58.                          Fix setting of styles so that styles not in on/off styles untouched
  59.          5-Aug-92 : Add pUserSelection
  60.                                           Zap cSelection
  61.                                          Added MakeSelectedTextObject for Gustav
  62.                                          Styles made to match behaviour in Inside Mac VI
  63.                                          Fixed setting of styles to match registry
  64.                                          Fixed saving to work after name change of window
  65.                                          Mark document as dirty after SetData
  66.                                          Feed back all filing errors
  67.                                          Moved some data from descriptor procedures to SVEditAEUtils.c
  68.  
  69.  
  70. 3.0d3 change history overview
  71. -----------------------------
  72. The AppleEvents code has been updated to match the latest registry.
  73. Including :
  74. 1) Changes to classes of several events.
  75.    This involves changing the AEInstallEventHandler call and also the
  76.     IssueXXXCommand code.
  77.    kAERevert changes to KAEMiscStandards from kCoreEventClass
  78.    kAESave changes to kAECoreSuite from kCoreEventClass
  79.    kAENewElement changes to kAECreateElement of kAECoreSuite
  80.    kAEClose changes to kAECoreSuite from kCoreEventClass
  81.    kAECut,kAECopy and kAEPaste become part of kAEMiscStandards
  82.    kAEDelete becomes part of kAECoreSuite
  83.    kAESetData, kAEGetData change from kCoreEventClass to kAECoreSuite
  84.  
  85. 2) pStyle changes to pTextStyles
  86.    typeText becomes typeChar
  87.    kAEAskUser becomes kAEAsk
  88.    pHasTitle becomes pHasTitleBar
  89.    keyAETheData becomes keyAEData
  90.    keyAEObjToCreate changes to keyAEObjectClass
  91.  
  92. 3) Added USES of AERegistry.p and removed duplicated 'CONST's now defined by
  93.    registry.
  94.  
  95. 4) Removed many instances of AEDescs created and not disposed of. The 'Leaks'
  96.    dcmd was very useful here, simply switch it on, repeat a command a few times
  97.    and ask leaks if any leaks were found.
  98.  
  99. 3.0d2 change history
  100. --------------------
  101. See details at top of each file.
  102.